package com.jeff.android.lab.android.lifecycle.lifecycle;

import androidx.annotation.NonNull;
import androidx.lifecycle.DefaultLifecycleObserver;
import androidx.lifecycle.LifecycleOwner;

import com.jeff.utils.LogUtil;

public class OldActivityLifecycleObserver implements DefaultLifecycleObserver {

    @Override
    public void onCreate(@NonNull LifecycleOwner owner) {
        LogUtil.d("dingfeng", "OldActivityLifecycleObserver onCreate");
    }

    @Override
    public void onStart(@NonNull LifecycleOwner owner) {
        LogUtil.d("dingfeng", "OldActivityLifecycleObserver onStart");
    }

    @Override
    public void onResume(@NonNull LifecycleOwner owner) {
        LogUtil.d("dingfeng", "OldActivityLifecycleObserver onResume");
    }

    @Override
    public void onPause(@NonNull LifecycleOwner owner) {
        LogUtil.d("dingfeng", "OldActivityLifecycleObserver onPause");
    }

    @Override
    public void onStop(@NonNull LifecycleOwner owner) {
        LogUtil.d("dingfeng", "OldActivityLifecycleObserver onStop");
    }

    @Override
    public void onDestroy(@NonNull LifecycleOwner owner) {
        LogUtil.d("dingfeng", "OldActivityLifecycleObserver onDestroy");
    }

}
